//
//  RoomDefalutApi.m
//  SmartiOSPublisher
//
//  Created by Liu,Qingcan on 2017/4/26.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import "RoomDefalutApi.h"

@implementation RoomDefalutApi{
    NSInteger _cateId;
}
- (id)initWithCategoryId:(NSInteger)cateId{
    self = [super init];
    if (self) {
        _cateId = cateId;
    }
    return self;
}

- (NSString *)requestUrl{
    return @"/room/get_one_page";
}

- (YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

- (YTKRequestSerializerType)requestSerializerType{
    return YTKRequestSerializerTypeJSON;
}

- (id)requestArgument{
    return @{
             @"id":[NSNumber numberWithInteger:_cateId]
             };
}


@end
